﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DotNetExtensions.Core.Http
{
    public class ContentType
    {
        /// <summary>
        /// multipart/form-data
        /// </summary>
        public static Header FormData { get { return new Header("Content-Type", "multipart/form-data"); } }
        /// <summary>
        /// application/json
        /// </summary>
        public static Header Json { get { return new Header("Content-Type", "application/json"); } }
        /// <summary>
        /// application/x-www-form-urlencoded
        /// </summary>
        public static Header UrlEncoded { get { return new Header("Content-Type", "application/x-www-form-urlencoded"); } }
    }
}
